-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(chore): adopt scientific python deprecation schedule #1768
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1768 +/- ##
==========================================
- Coverage 86.13% 83.54% -2.59%
==========================================
Files 41 40 -1
Lines 6277 6231 -46
==========================================
- Hits 5407 5206 -201
- Misses 870 1025 +155
|
@@ -57,7 +57,7 @@ jobs: | |||
set -e | |||
uv pip install --system --compile tomli packaging | |||
deps=`python3 ci/scripts/min-deps.py pyproject.toml --extra dev test` | |||
uv pip install --system --compile $deps pytest-cov "anndata @ ." | |||
uv pip install --system --compile $deps pytest-cov "anndata[test,dev] @ ." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@flying-sheep I think this is a bug, no? The min-deps are created without respect for upper bounds so the constraints can end up not including the upper bounds because the min-deps script doesn't care about it? I think this is the correct fix given the fact that the script is called "min-deps" and not "min-deps-with-upper-bound" but maybe I'm off
This PR forces us to adopt the scientific python deprecation schedule as much as possible. It also cleans up our use of spmatrix/sparray because of the bumping of
scipy.sparse
so that handlingsparray
is always done via a concrete classspmatrix
andsparray
#1649